9b8ccc336c1dc4ba8e2d52a6c56cdfd0137360a7,src/com/portfolio/data/utils/ConfigUtils.java,ConfigUtils,loadConfigFile,#ServletContext#,37

Before Change


			String value = null;
			while ((line = readerSrce.readLine())!=null){
				if (!line.startsWith("#") && line.length()>2) { // ce n'est pas un commentaire et longueur>=3 ex: x=b est le minumum
					String[] tok = line.split("=");
					variable = tok[0];
					value = tok[1];
					attributes.put(variable, value);
				}

After Change


			String value = null;
			while ((line = readerSrce.readLine())!=null){
				if (!line.startsWith("#") && line.length()>2) { // ce n'est pas un commentaire et longueur>=3 ex: x=b est le minumum
					int cut = line.indexOf("=");
					variable = line.substring(0, cut);
					value = line.substring(cut+1);
					attributes.put(variable, value);
				}